@font-face {
    font-family: 'DIN';
    src: url('../font/D-DIN.ttf') format('truetype')
 }
 @font-face {
    font-family: 'PF';
    src: url('../font/PingFangSC.ttf') format('truetype');
 }
.flex{
    display: flex;
    &-c{
        flex-direction: column;
    }
    &-bt{
        justify-content: space-between;
    }
    &-ar{
        justify-content: space-around;
    }
    &-ev{
        justify-content: space-evenly;
    }
    &-center{
        justify-content: center;
    }
    &-a-c{
        align-items: center;
    }
    &-wrap{
        flex-wrap: wrap;
    }
    &-no-shrink{
        flex-shrink: 0;
    }
}
.no-shrink{
    flex-shrink: 0;
}
.f1{
    flex:1;
}
.PF{
    font-family: 'PingFang SC';
}
.DIN{
    font-family: 'D-DIN-DIN-Bold';
}
.t-center{
    text-align: center;
}
.t-left{
    text-align: left;
}
.bold{
    font-weight: 600;
}

.gray{
    color:#9FA1A1;
}
.dark,.dark{
    color: #757575;
}
.deep-dark{
    color: #1C1E1F;
}
.ellipsis{
    // overflow: hidden;
    // text-overflow: ellipsis;    
    // display: -webkit-box;
    // -webkit-box-orient: vertical;
    // -webkit-line-clamp:2;
    lines: 1;
    text-overflow: ellipsis;
}
.ellipsis-2{
    lines: 2;
    text-overflow: ellipsis;
}

.btn{
    border: none;
    outline: none;
    text-align: center;
    &.active{
        background-color: #52D0D4 !important;
        color:#fff !important;
    }
    &.default{
        background-color: #F5F5F5;
        color: #1C1E1F;
    }
    &::after{
        border: none;
    }
}
.active-btn{
    background-color: #52D0D4 ;
    color:#fff;
}

.flex-c-c {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-s-c {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-s-s {
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.flex-between-center{
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.absolute-center{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.align-center{
    align-items: center;
}
.text-ellipsis {
    // overflow: hidden; 
    // white-space: nowrap; 
    lines:1;
    text-overflow: ellipsis;
  }
.relative{
    position: relative;
}
.absolute{
    position: absolute;
}
.fs-11{
    font-size:11px;
    line-height: 11px;
}
.fs-12{
    font-size:12px;
    line-height: 12px;
}
.fs-13{
    font-size:13px;
    line-height: 13px;
}
.fs-14{
    font-size:14px;
    line-height: 14px;
}
.fs-15{
    font-size:15px;
    line-height: 15px;
}
.fs-16{
    font-size:16px;
    line-height: 16px;
}
.fs-17{
    font-size:17px;
    line-height: 17px;
}
.fs-18{
    font-size:18px;
    line-height: 18px;
}
.fs-19{
    font-size:19px;
    line-height: 19px;
}
.fs-35{
    font-size: 35rpx;
}
.fs-31{
    font-size:31rpx;
}
.fs-27{
    font-size:27rpx;
}
.fs-23{
    font-size:23rpx;
}
// 占位
.none{
    opacity: 0;
    pointer-events: none;
}
// 预留手机顶部距离
.container-box{
    padding-top:113rpx;
    box-sizing: border-box;
    min-height: 100vh;
}

// form
.required{
    &:after{
        content:'*';
        color:rgb(236, 111, 91);
    }
}
// 
.empty {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    image {
      width: 115px;
      height: 115px;
    }
    .gray {
      margin-top: 50px;
      margin-bottom: 30px;
      font-size: 16px;
    }
    .btn {
      width: 160px;
      height: 48px;
      line-height: 48px;
      border-radius: 26px;
    }
  }

  .sticky{
    position: sticky !important;
    top:0;
    z-index:111;
  }

@head-height:40px;

// popup
.popup-footer{
    justify-content: center;
    margin-bottom: 20px;
    .btn{
        width: 152px;
        height: 50px;
        justify-content: center;
        border-radius: 23px;
        font-size:15px;
    }
    .sure{
        background-color: #F5F5F5;
        margin-right: 10px;
    }
    .cancel{
        background-color: #52D0D4;
        color: #ffffff;
    }
}

